package module_five.task03.serverModel;

import module_five.task03.ClientModel.User;

public class ServerDao {

    /**
     * 编程实现: 验证客户端发送的账号信息
     */
    public boolean serverManagerCheck(User user) {

        if ("admin".equals(user.getUserName()) && "123456".equals(user.getPassword())) {
            return true;
        }

        return false;
    }
}
